// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: t -*-

/*
gps.pde

Author:     Uwe Gartmann

This firmware is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
*/

/// Definitions


/// Declarations


void initGPS(void) {
	Serial1.begin(38400);
	GPS.init();
}

void updateGPS(void) {
	byte sdr = Serial1.datareceived();	// new GPS data received?
	if (sdr == 1) {
		GPS.update();
	}
}